package me.sdau.spider.manager.modules.system.mapper;

import me.sdau.spider.manager.common.mapper.BaseMapper;
import me.sdau.spider.manager.modules.system.entity.User;

/**
 * @author zj
 * @date 2018/4/8 17:55
 */
public interface UserMapper extends BaseMapper<User> {

    int insertUserRole(User user);

    User getUserByUsername(String username);
}
